-- SCCureAction
-- create by chendh
-- 受创动作

SCCureAction = class("SCCureAction", function()
    return ActionBase.create();
end);

function SCCureAction.create(source, target, skillId, args)
    local self = SCCureAction.new();
    self.source = source;
    self.target = target;
    self.args = args;
    self.skillId = skillId;
    return self;
end

-- 构造函数
function SCCureAction:ctor()
end

-- 开始播放
function SCCureAction:play()
    EventMgr.fire(event.SKY_COMBAT_CURE, {
        ["source"] = self.source,
        ["target"] = self.target,
        ["skillId"] = self.skillId,
        ["args"] = self.args
    });

    return 0;
end

return SCCureAction;